﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Xml;

namespace IURIP
{
    /// <summary>
    /// The rule defined in the configuration file
    /// </summary>
    public interface IRuleTemplate : ITemplate
    {
        /// <summary>
        /// Gets the rule name.
        /// </summary>
        string Name { get; }
        /// <summary>
        /// Gets the rule category. 
        /// </summary>
        string RuleCategory { get; }

        /// <summary>
        /// Run the rule instance
        /// </summary>
        /// <param name="ruleInstance"></param>
        /// <param name="node"></param>
        void Run(IRunable ruleInstance, XmlNode node);
    }
}
